FROM java:8
VOLUME /tmp
ADD *.jar app.jar
ENV JAVA_OPTS="-Xms256m -Xmx256m -Xmn128m"
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]